tests/var-mount: tweak test setup
authorLuca BRUNO <luca.bruno@coreos.com>
Tue, 19 Oct 2021 08:03:09 +0000 (08:03 +0000)
committerLuca BRUNO <luca.bruno@coreos.com>
Tue, 19 Oct 2021 08:03:09 +0000 (08:03 +0000)
commitf93d96620c63a5999b87bdd78456d21970a15c4f
tree2cdd05cb03c65a009801a7f1e5e555c0194bf075
parent5d045f3ae1a0cec43c117c497e9fa980ea2e474d
tests/var-mount: tweak test setup

This reworks the var-mount destructive test in order to properly use
the datadir for the current stateroot instead of a duplicated one.
In turn, it ensures that the resulting `var.mount` after reboot is
correctly pointing to the same location which hosted `/var` on the
previous boot.
tests/kolainst/destructive/var-mount.sh